package com.yanfan.energy.domain;

/**
 * @author caijinkang
 * @date 2023年04月24日 10:14
 */
public class SetEnergyAllocations {

    private Integer id;
    /**
     * 设备名字
     */
    private String deviceName;
    /**
     * 楼栋名字
     */
    private String buildName;
    /**
     * 车间名字
     */
    private String shopName;
    /**
     * 车间id
     */
    private Integer workshopId;
    /**
     * 设置百分比
     */
    private Double percentage;
    /**
     * 设备id
     */
    private Long deviceId;
    /**
     * 楼栋id
     */
    private Integer buildingId;

    public SetEnergyAllocations() {
    }

    public SetEnergyAllocations(Integer id, String deviceName, String buildName, String shopName, Integer workshopId, Double percentage, Long deviceId, Integer buildingId) {
        this.id = id;
        this.deviceName = deviceName;
        this.buildName = buildName;
        this.shopName = shopName;
        this.workshopId = workshopId;
        this.percentage = percentage;
        this.deviceId = deviceId;
        this.buildingId = buildingId;
    }

    @Override
    public String toString() {
        return "SetEnergyAllocation{" + "id=" + id + ", deviceName='" + deviceName + '\'' + ", buildName='" + buildName + '\'' + ", shopName='" + shopName + '\'' + ", workshopId=" + workshopId + ", percentage=" + percentage + ", deviceId=" + deviceId + ", buildingId=" + buildingId + '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public Double getPercentage() {
        return percentage;
    }

    public void setPercentage(Double percentage) {
        this.percentage = percentage;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }
}
